﻿namespace Sidvall.Data
{
	public static class RelationManager
	{
		#region Public Members

		public static RelationCollection<TRelation> CreateRelations<TRelation>(System.Collections.Generic.IEnumerable<TRelation> relations)
		{
			if (relations == null)
				return null;
			var items = new RelationCollection<TRelation>();
			items.AddRange(relations);
			return items;
		}

		#endregion
	}
}
